#define _CRT_SECURE_NO_WARNINGS 1

#include<iostream>
#include<vector>
#include<array>

using namespace std;

namespace zy
{
	template<class T, size_t N = 10>
	class array
	{
	public:
		size_t size() const;
		T& operator[](size_t pos)
		{
			return _a[pos];
		}

	private:
		T _a[N];
		size_t _size;
	};

	void func();

	template<class T, size_t N>
	size_t zy::array<T, N>::size() const
	{
		return _size;
	}
}

